package com.sell.sell.dao;

import com.sell.sell.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 描述:
 * ${DESCRIPTION}
 *
 * @author hzp
 * @create 2018-09-29 12:44
 */
public interface ProductInfoDao extends JpaRepository<ProductInfo,String> {

    List<ProductInfo> findByProductStatusEquals(Integer productStatus);

    ProductInfo findFirstByProductIdEquals(String productId);

}
